package com.vca.common.response.sf;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * 顺丰快递统一响应成功 SFReturnData 下的 apiResultData 内数据
 * @author wangsong
 * @date 2020/9/15 0015 16:05
 * @return
 * @version 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ResponseCancel对象", description="顺丰返回对象")
public class ResponseCancel implements Serializable {

    private static final long serialVersionUID = 2926310120915495170L;

    @ApiModelProperty(value = "true 请求成功，false 请求失败")
    private Boolean success;

    @ApiModelProperty(value = "错误编码，S0000成功")
    private String errorCode;

    @ApiModelProperty(value = "错误描述")
    private String errorMsg;

    @ApiModelProperty(value = "返回的详细数据")
    private JSONObject msgData;

}
